<template>
	<view>
		<view class="ecology-page">
			<view class="ecology-item" @click="goopen" v-for="(item,index) in imgList" :key="index">
				<u--image :showLoading="true" :src="item.img" width="331rpx" height="438rpx"></u--image>
			</view>
		</view>
		<tabbar :value="3"></tabbar>
	</view>
</template>

<script>
	import tabbar from '@/components/tabbar/index.vue'
	export default {
		components: {
			tabbar
		},
		data() {
			return {
				imgList:[
					{img:'/static/ecology/education.png'},
					{img:'/static/ecology/life.png'},
					{img:'/static/ecology/game.png'},
					{img:'/static/ecology/health.png'},
				]
			}
		},
		methods:{
			goopen(){
				uni.showToast({
					title:'暂未开放',
					icon:'none'
				})
			},
		}
	}
</script>

<style>
	page {
		background-color: #fff;
	}
</style>
<style lang="scss" scoped>
	.ecology-page {
		padding: 30rpx;
		display: flex;
		justify-content: space-between;
		flex-wrap: wrap;
		.ecology-item {
			margin-top: 40rpx;
		}
	}
</style>